package com.zhang.order.enums;

/**
 * 订单状态枚举
 *
 * @author hongmizfb
 * @date 2023/12/10
 */
public enum OrderStatusEnum {
    NO_PAY(0, "待付款"),
    NO_SHIPPED(1, "待发货"),
    IS_SHIPPED(2, "已发货"),
    IS_FINISH(2, "已完成"),
    IS_CLOSE(3, "已关闭"),
    IS_INVALID(4, "无效订单");
    private Integer statusCode;
    private String statusMsg;
    OrderStatusEnum(Integer statusCode, String statusMsg) {
        this.statusCode = statusCode;
        this.statusMsg = statusMsg;
    }

    public Integer getStatusCode() {
        return statusCode;
    }

    public String getStatusMsg() {
        return statusMsg;
    }
}
